package game.bean;

/**
 * @author liuyulai
 * Created with IntelliJ IDEA.
 * Date: 21.5.8
 * Time: 20:15
 * 玩家信息类（用于排行榜）
 */
public class PlayerInfo {
    private String name;
    private int num;

    public PlayerInfo() {
    }

    public PlayerInfo(String name, int num) {
        this.name = name;
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }


    @Override
    public String toString() {
        return "PlayerInfo{" +
                "name='" + name + '\'' +
                ", num=" + num +
                '}';
    }
}
